package com.dzf.service;

import com.dzf.entity.User;
import org.springframework.stereotype.Service;


public interface UserSerive {
    /**
     * 添加新用户
     * @param user 用户信息
     */
    public boolean add(User user);

    /**
     *
     * @param uid 用户的ID
     * @return 用户
     */
    public User findById(String uid);


}
